<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
	<head>
		<title>长期未登录用户管理</title>




		<!-- Demo page code -->

		<style type="text/css">
#line-chart {
	height: 300px;
	width: 800px;
	margin: 0px auto;
	margin-top: 1em;
}

.brand {
	font-family: georgia, serif;
}

.brand .first {
	color: #ccc;
	font-style: italic;
}

.brand .second {
	color: #fff;
	font-weight: bold;
}
.content1 {
min-width: 400px;
position: relative;
min-height: 650px;
background: #fff;
margin-left: 240px;
margin-top: 6px;
}
</style>


	</head>
	<body class="">

		<jsp:include page="top.jsp"></jsp:include>
		<!-- 内容 开始 -->
		<div class="content1"  >

			<div class="header">

				<h1 class="page-title">
					个人中心
				</h1>
			</div>

			<ul class="breadcrumb">
				<li>
					<a href="/sell_food/userview/index.jsp">主页</a>
					<span class="divider">/</span>
				</li>
				<li class="active">
					长期未登录用户管理
				</li>
			</ul>

			<div class="container-fluid">
				<div class="row-fluid">

<div class="container-fluid">
	<div class="row-fluid">
		<div class="span12">
			<table class="table table-bordered">
				<thead>
					<tr>
						<th>
							用户名
						</th>
						<th>
							密码
						</th>
						<th>
							最后登录时间
						</th>
						<th>
							状态
						</th>
					</tr>
				</thead>
				<tbody>
					<s:iterator value="alluser" status="st">
					<tr class="warning">
						<td>
							<s:property
							value="userName" />
						</td>
						<td>
							<s:property
							value="password" />
						</td>
						<td>
							<s:date name="expireTime" format="dd/MM/yyyy hh:mm:ss" />
						</td>
						<td>
													
												
	
																<a href="/sell_food/deleteuser?userName=<s:property value="userName"/>">
																<button class="btn btn-danger" type="button">
																	删除
																</button>
																</a>
										
												
												
												</td>
					</tr>
					</s:iterator>
					
				</tbody>
			</table>
		</div>
	</div>
</div>
				

					</div>

				

				</div>
			</div>

		<script type="text/javascript">
	$("[rel=tooltip]").tooltip();
	$(function() {
		$('.demo-cancel-click').click(function() {
			return false;
		});
	});
</script>
	</body>
</html>
